Skip to main content

TakeWhile

TakeWhile[list,crit] gives elements ei from the beginning of list, continuing so long as crit[ei] is True.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.